test for cox dataset preparation