added modjail module and tests