Update vtable test and pass in list of function pointers
Add some error checking to see whether we succeeded building hash table