Ignore generated files directory for testing
Add includes to header, and fix lack of namespace in some types