moving tests from model to behavior test