Adds close pull request buttoni

- Refactoring tests for support

Signed-off-by: Edmundo Perez <edmundo.perez@crowdint.com>