* tests and views encapsulated