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
Merge pull request #2 from scoheb/master

Fix pom.xml, failurecause mock and test button