Added some testcases for multiple databases