Did you write any tests for this?