move the new tests to external test
update c3p0 and postgres dependencies
update test groups for making them run as external tests, and fix the sql logic
add more tests for mfpakdao