fixed application parser (probably)

still need more tests to ensure proper LC parsing
minor
added some additional tests