message: Added command insertion tests
diff: /* eslint-disable */
  import { useStrict, observe } from "mobx";
  import TestCase from "../../models/TestCase";
  +import Command from "../../models/Command";
  useStrict(true);
  @@ -28,6 +29,32 @@ describe("TestCase model", () => {
  test.createCommand();
  expect(test.commands.length).toBe(1);
  });
  + it("should throw if the given command is undefined", () => {
  + const test = new TestCase();
  + expect(() => test.inserCommandAt()).toThrowError("Expected to receive Command instead received undefined");
  + });
  + it("should throw if the given command is different type", () => {
  + const test = new TestCase();
  + expect(() => test.inserCommandAt(5)).toThrowError("Expected to receive Command instead received Number");
  + });
  + it("should throw if the given index is undefined", () => {
  + const test = new TestCase();
  + const command = new Command();
  + expect(() => test.inserCommandAt(command)).toThrowError("Expected to receive Number instead received undefined");
  + });
  + it("should throw if the given command is different type", () => {
  + const test = new TestCase();
  + const command = new Command();
  + expect(() => test.inserCommandAt(command, "5")).toThrowError("Expected to receive Number instead received String");
  + });
  + it("should insert the command in the middle", () => {
  + const test = new TestCase();
  + test.createCommand();
  + test.createCommand();
  + const command = new Command();
  + test.insertCommandAt(command, 1);
  + expect(test.commands[1]).toBe(command);
  + });
  it("Should remove a command", () => {
  const test = new TestCase();
  const command = test.createCommand();
  