Fix visibility of methods
Add preferences handling tests
test for prompt updates; use containsString when possible