test: extract HTTP method related register tests