fixed test, handled epsilon state better