improved tests coverage of surve/utils.py
fix bug in core/utils/extract_attr and improve test coverage overall