Write a test for this?