remove test_doctests, duplicate, comment test and referring code
merged