all tests working node and browser