d -> domain

ran the tests this time

Signed-off-by: Mark Rushakoff <mrushakoff@pivotallabs.com>