test/py: rewrite sqfsls command test suite