fix for error in ContentletAPITest #3501