Made transformer a dependency on reader. Added test to verify that its called