create_usrdata function

Create a user-defined test dataset