test based on provided testdata