Added test for model helpers