Bettered tests. Fixed dbal platform.