refactor some spec helper code. add test db to .gitignore
spec helper refactor. add test db to gitignore. (supposed to be included in last commit)