start using Test::More
gitignore swp files
put log files in temporary directory