Update TravisSampleTest.java

Change test case for add method.