added tests for l2