fix failing unit test by changing =~ regex comparer to good old == in unit test validation