Fixing a bug in testing API compatibility when no operations are declared