Layer replace view must pass is_layer for permission form to works correctly
Adding tests on permission for anonymous user