Added main test file and fixed trailing whitespace