removed dead code, useless imports, added missing generic type
corrected typo
documented preparation steps to run tests
fixed broken tests
#23 added resource cleanup code