Removed unnecesssary statements in unit test code.