added gitignore, updated tests to work with method change