fixed broken tests in AppCode