added toString
changed visibility of popAction.
minor test-changes