Tests for existence of errors since messages differ between browser and node