Remove dead code, change request_id to number.
Change pull requests api tests.
Fix bug.