Tests which shows how hibernate ORM works