wrote test cases for split_letters method