Updated .gitignore
Refactored testing trademarks specs
Added support for agent
Remove some debugging output