Added script for build test database