adds scalar parse with tests