failing test fixed