Remove test hook that was causing Travis to fail