removing s3 functions from common.h
removing unused quality functions in common.cpp
adding more unit tests