testing code against text