Fix metadata size test