Added prefixParser (not finished)

also put tests into their own file