It will be good to have a test for this