added spec for testing optimized mapper operator