add MockSlave for testing (also test package)
add IllegalRequestException for general purpose(and package)

use this when you need to make a method which accepts certain requests