Delete old tests and old helper function