Added tests. Fixed graylog to be started after mongo on which it depends