Added tests for Parser core module