Remove a double-execution bug in ob-elasticsearch
Update test to fail if executed more than once