added spec tests and quality indicators