simplify loadPartial method and improve coverage for this method