Add proper tests for `OSHDBApplication`. See comment here: https://github.com/GIScience/oshdb/pull/474#pullrequestreview-1177535649