Unit testing additions for view_models