DRY tests for LDB and LDW