Added check for direct.h
Added chicken run wrapper, some work on running tests