Fix warnings in GHViewTestCase