refactoring for tests

API resembles Minitest, extensive usage of custom helper methods, some methods added to Utils module