I had this recently over a job which required Perl and nix skills, although it was not a Bob testing me, instead the main interviewer brought in Dave (the companies Perl expert). Dave was a shoegazing geek with all his social skills no doubt learnt from playing world of warcraft.
Even though i tried to avoid it, it turned into an Ego battle namely on the Dave's part whereby he was determined to 'catch me out'. After a while of discussing complex regex and how his was better (which i dutifully nodded to). He kept doing a snorting under his breath laugh to each answer I gave which really made me feel like lamping him in the middle of the inteview.
I turned round and asked the main interviewer if any of this was coding knowledge needed for the functionality of the product I was being interviewed to support? Interviewer turned back to 'Dave' who said 'no, but, yes, but no' to which main interviewer then looked annoyed at our David.
Main chap then ask's 'do you have any questions you would like to ask?' to which I smiled and replied 'No'.
I then called the agent and told them I was not up for working there at all and I accepted another offer instead.