Fix test env and disable karma