added npm script for testing, fixed gitignore to include logs