Add database test
Merge branch 'master' of https://github.com/cascer1/PT12.git