cleaned up test SConscript and fixed file paths

file paths have to be relative (not with a leading #) because
it confuses scons and makes it forget about variant_dir,
making it put .o files in the source tree, not in the build folder