Testing element retrieval algorithms

Implementing processCode with no context