Testing setUp function