updated the failed unit tests and quality