added on-bot testing code. working! :)