Repositories are now testable easier and fixed gallery item table name in migrations