added few more logs in tests, made the testing verbose and fixed multiline escaping