added some basic test for the View class and the green-light code