added tests for process bug - #40