tdd version of the flix example from pragprog.com