Creating batch context test.