add gm and rm test dependencies