tests and views