Coding challenge: log parsing and testing