changed constants, updated test files

changed io.c and cpu.c
add some more test scripts
changed constants in config.h