Added gitignore, resolved test errors.