If you pass a value that matches from the first character, this will return false and fail. So if I check if the element's href has the value 'http://path/to/my/page', then the value 'http://path/to/my/page' doesn't match. 

We just need to change it to `return value.indexOf(expected) >= 0;` or  `return value.indexOf(expected) > -1;`