More Unit Testing Fixes

A few more fixes to Windows DirectX platform to make the unit tests run.