fix tests for app gallery