<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def TEST(fname):
 """ Test function to step through all functions in order to try and identify all features on a map This test function should be placed in a main section later """

    #fname = os.path.join(os.getcwd(), '..','..',  # os.path.join(os.path.getcwd(), '
    m = MapObject(fname, os.path.join(os.getcwd(), 'img_prog_results'))
    m.add_layer(ImagePathFollow('border'))
    m.add_layer(ImagePathFollow('river'))
    m.add_layer(ImagePathFollow('road'))
    
    m.add_layer(ImageArea('sea', col='Blue', density='light'))
    m.add_layer(ImageArea('desert', col='Yellow', density='med'))
    m.add_layer(ImageArea('forest', col='Drak Green', density='light'))
    m.add_layer(ImageArea('fields', col='Green', density='light'))
    
    m.add_layer(ImageObject('mountains'))
    m.add_layer(ImageObject('trees'))
    m.add_layer(ImageObject('towns'))