JUnit tests added

JUnit test case added for spawn instruction