Test both implementations