Added EntityManager query creation tests

Couple of small tests for the untested createNamedNativeQuery and createNamedQuery methods.