broke unit tests into views and models