ENGINE-1889, Add unit tests on bonita works