added tests to make sure when increase or reduce the quality- typo spotted as a result