Added sqlite dialect, refactored mapper test a bit