Creating tests for model and seperating it from views into seperate dir