added basic assertion tests - refactored init into methods