added attributes context tests.