fixed some errors for pictures and album controller tests