Add parser code and tests from test_kernel