SERVER-15595: fix devnull engine and add a test