classes for junit testing added
sources updated for junit testing