Adding model and view tests