refatoring tests and added to changelog