update tests and fix request