fixed table creation a bit, started dbadapter tests