minor corrections
added derived test cases