Issue #3 - the mock implementation now takes a custom delay in milliseconds for command execution