fixed problem with unit test on deck