Fixed thirteen method to remove dashes before size check

Just moved the delete dashes line prior to the size check and added some tests.