Add method to clear db by script
Fix relative paths on tests