Script for testing bertrpc and ernie