added junit testse