please provide a test covering this case