Hopefully fixing #63; needs testing.
RCX needs to be undefined after a linux call too.

Also added .gitignore in tests folder.
Merge branch 'issue-63' into develop