Write tests for pig latin method