pass all functions tests