Test for php inserting a view