Rewrote a test to a spec and relaxed another test to work with the

profile visibility plugin

Does not need a changelog entry.