Changes the way abe-protractor is written

- Changing the setup stub to allow it to be testable
- Adds tests to ensure that the function returns
  - When the match is not a folder
  - When the folder has no JSON files