changed test cases to use By.id to find the element #21

please review and merge to master if all OK. #21