adding some tests for utils
removing newlines