fixed indents and test file