Added view() test