WrapperTest

There are still some bugs in the wrapper-to-database.
Needs fixing.