Implemented Merged? functionality / tests

Bugfix for building the merge api url, as well.