Improved parsing and its testing. Parse commands (JOIN and numeric)