added test files and cleaned up whitespace