Naive attempt at making the previous test more robust