RCX needs to be undefined after a linux call too.

Also added .gitignore in tests folder.