Tests rebuilding the node access permissions table.
function testNodeAccessRebuild() {
$this
->drupalGet('admin/reports/status');
$this
->clickLink(t('Rebuild permissions'));
$this
->drupalPost(NULL, array(), t('Rebuild permissions'));
$this
->assertText(t('Content permissions have been rebuilt.'));
}