half working selenium unit test