fixed unit tests in quality eval
refactored variable names
enhanced quality eval test