move gallery tests into applications dir