Added ObjectCommandTests to PowershellReferenceTests project and fixed incompatibilities