disabled code
remove unused test hooks