reversing expected order to align with spec
updating helper file to make sure it will work for all new tests
minor fixes, changed helper files, whitespace, no double readyState 1 events