[ticket/416] Add tests for deleting module

B3P-416