Make a test that just tests this function please