A piece of glass is often used to test what of a mineral