Shape test with custom view