Added example test and travis config to run them.