Added new pipeline testunit and modified logging