Fix test whitespace and styling issues