added minitest tests