invalidRegExpTest -> regExpTest plus style

Fix some spacing and spelling.

Change invalidRegExpTest to regExpTest.