Add a test for the bug that was found with BernoulliSampler not copying the complement param