some refactorings to help the creation of test cases
New coffeemaker test that shows the use of line information in the analysis