finished basic junit testing except for xml related implementations