angular 1.2 and tests