Adding entity mapping.
Adding tests for ClassResult.