adding unit tests for census helpers (100% coverage)