Added simple test with view involved