Split database test into multiple files