hardened test

added better waiting for options page