tests for fileMapping