adding missing define to get demo work
adding tests for yatracelib core