removing unused code
adding process tests