View unit tests