various tests, fixed some buggy defines, removed control channel from pty list
updated sys.config syntax