added a test case to validate locking behvaior exception around map reduce output formats.