use pprint to check output
added couple more tests
converted tests to pytest fixures