in memory jUnit testing