a unit test for those would be great!