Added more mock functionality. Fixed issue regarding possible DLL errors for std objects