Fix views test