Replaced minitest tests with spec style tests