add test environment and enable travis