Entity classes implements Serializable, changes in test clases, correcting of DAO methods