Update test for http api registeration