backend tests almost done.  need to fix gallery updates