Convert path to string and add more tests