progress on check module and tests