Script test (cleanup trailing whitespace)