separate data from test