Added position reference test to Language Specification Factory