adding test for short codes close #125