added map and filter tests