[GENLINK] correct the whitespace bug
[GENLINK] Add Test suite + simple test
[GENLINK] Add test patterns