added init method to classes, added autoRender to view
added beforeTest and afterTest methods
added more testing for types