Adds a test for the niceShort function