test throw for missing closing asterisk