base view unit tests