added unit tests on buildslave.scripts.create_slave.createSlave()