Two test cases to check data is received or not