Correctly implemented fest to run tests properly.
Added more test support code to classes