implementing and testing complete-append function and travisifying