initial test
before state pattern refactoring