add tests for utils and views