Added tests.
Corrected to return the empty string in case the argument is < 1.