testing if string begins with prefix