fixed tests + travis ts