add engine forking
add ambiguous test case for GLR