added first query to customer database under TEST flag