Removed dead code
Added information about tests and the testing code