move utils to another file
Added case and empty str tests
Final fixes