removed print statements, added test file