add Process to queue and some unitests