test failed: spaces at the end of line should be kept