Adding test cases for new STR functions