changed amended function name in test