Added tests for lexical struct declarations
Finally fixed clex segfault issues