add view unit test