Moved visibility-tests for issues into spec

straightened out the visibility-tests and moved them into a spec.

https://www.openproject.org/issues/1896