unit tests for main module passing up to User.check_for_blocks