Add testing hook for travis