add test function to simply run
wip- fix function break, add toLowerCase for string
fix the structure for string matching function