Added test unit for home/media models