Added test for `valid_language?` instance method on `Attempt` class.