delete deprecated code
compile tests