Added BatchDB Unit Test