added basic view tests