Fixed samples unit tests so they would fire when maven is run