Added assets compression ability and some tests for asset handling.