added before and after hooks for travis