refine travis code inspection
test db management
fix behat sql file