Added some test cases.
Corrected parsing of join slightly. Added empty elab_join function that still needs implementing. elab_select is broken due to broken elab_proj. Made minor changes to style problems.