Added view tests