(#52) more spec tests
(#52) cleaned up visibility manager