parseOffset and scaling tests