Fix type error for realization in test case.