Add gnu source.
Fix tests.