unit tests: remove trailling white spaces