somewhat done unit testing home

don't know how to properly mock