fixed missing semicolon and addded small recognition test