Implements delete faculty function and modifies test.