Fix pom.xml, failurecause mock and test button

Add missing deps to pom
Correct test button to signal an error when dashing not available
Correct mocking of FailureCause