before refactoring
examples of command / query testing styles