Add .gitignore and ignore pkg directory
Remove undef_method call in test utilities (test suite now runs)