added user defined test