Adding a multiple resolve issue test and fixing it