Fixing Unit Tests

- Updating upstream url to the new one valid after github changes
- Adding -t argument to mktemp command in order to support mac & linux
- Fixing regexp expeting different messages from API