Fix theme DAO on test environment