gc-test: add minor/major gc tests