If you want to use f as a source term in a mixed formulation, you should create three separate expressions and dot each of them with the test functions, i.e.
v0,v1,v2 = TestFunctions(V)
f0 = Expression("sin(x[0])")
f1 = Expression("2.")
f2 = Expression(("cos(x[0])","sin(x[0])"))
L = f0*v0 + f1*v1 + dot(f2,v2)
provided that V is the function space.