mostly fixed UnityTest build configuration

just additions of the build flag checks for the namespaces where they were missing.

only thing not working is one of the unit tests doesn't build due to missing the real UnityEngine dll