test showing good level of abstraction