added test pseudo and initial code