implementation of simple function and callback mocks
add travis config