How can we test this? We should have some tests on this if we going to expose an API.