Tests

Tests for model and controllers