Write jUnit tests for PacemakerAPI