unit test and proper indentation