added jUnit test