Remove trailing '\' and add test