Added tests for CoreExtension.
Added tests for ShellCommand.