added db tests for customer and runtests script