made some changes to selenium test
changed selenium test to use explicit waits