Moved test builder out of SConstruct and into a separate file.