Fixed method calls in translation vars and added some tests