Adding test that verifies that message id search works when limiting to a
specific endpoint #143