Added unittests, finished instruction tests