add test for contructing requests