Add missing '\n' in log message.
Create test with wrong id type for internal error.