Added tests for trello-middleware