Test case for Play bug regarding messages and code in routes