upgrade to es 1.3
write integration tests