Implementation of D3DXGetFVFVertexSize with tests