Better abstraction during testing