fixed redundant jump in translate if function, began testing which is documented in chapter7Tests.txt