Added a dashes method
Updated tests