Removing whitespace errors in test