Replace deprecated express parts, fix delete test