unit tests for static views