Handle drop message from unknown module

Unlike mentioned in #155 retrieving an unknown type of drop message is not silently ignored but instead raises a null pointer exception. This PR adds a test case for that and fixes the problem.