added test stubs and parser api modifications