tests for filemapping class