Throw Exception if EntityManager#find() is called with unknown identifiers
Fix unreachable tests