Fixed some issues with ProblemsViewTest Fixes  #546

- added more waits for ProblemsView refresh
- the error messages are more verbose now
- fixed wrongly written asserts