Added windows test script, simple fix to bash test script.
Added vim files to gitignore
Added database re-opening and callback tests