Added initial test for parsePrefix. Needs refactoring. Just a proof of concept, really.