test that logs to console in browser