added tests for ViewObject
  + switched ViewObject test to spec style (minitest)
  + refactoring to ViewObject due to failed tests