private void waitForSomeTraces() {
    try {
      Thread.sleep(5000);
    } catch (InterruptedException e) {
      e.printStackTrace();
    }
  }
Ugly sleep used for some of this tests. This method is needed because we can't provide Log
traces from the test application process and the default traces generation is implemented in
MainActivity. onData method doesn't wait until different log traces are displayed with the
filter provided, that's why I need this Thread.Sleep. Please, don't do this at home.
sample/src/androidTest/java/com/github/pedrovgs/sample/LynxActivityTest.java