-Fixing: String pattern substring verification and Tests result return.