TEST: capture warning

As noted by @VirgileFritsch