tests working in browser too