added tests for models and helpers