added asserts to selenium tests