Fixed some errors in the Views test.