fixed phantom capabilities test

similar to PR #39, with less commit. This should bring back some green color on the build badge.