Rewrote a test to a spec and relaxed another test to work with the
profile visibility plugin
Merge pull request #741 from opf/fix/rewrite_tests_to_specs

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