Added test for getcontent.