update unit test rake task

update formatting
fix success check
Merge pull request #70 from bodepd/unit_test_fix

update unit test rake task