refactor(product manager) add tests to check correct api url was called.