Tests

Added basic tests for controllers and models