Fix data layer sequence tests to avoid leveldb contention and lock failures

On OSX (and potentially other platforms) the LevelDB lock check will fail if two data layers are setup to read from the same source. This PR fixes the contention by scoping the 1st data layer to be destroyed before instantiating the 2nd. The tests are otherwise unaffected.