Added test functions to vdb.py