unit test, formatting