Added tests for Quality module.