Fixed build warnings
Fixed build fail for tests after JSON.NET update