Fixed tests for findAllByState and findFirstByState

Signed-off-by: Frode Marton Meling <fm@saltship.com>