added test book for SG
add map code for Darwin