add unit tests for game details route