add test for req