It would be better if we tested the *behavior* rather than the implementation.