tests extended
added config function for setting up database params
testsuite added