added modal tests and failing preload initial test
Merge branch 'topic/getVisibility' into next