added HasPrefix (vs. Has) function, added more tests (some failing)
added some comments