The MTD subsystem includes a RAM driver that can be used to (sort-of) loopback mount a JFFS2 filesystem for testing. In order to use it you must load the mtdram and mtdblock modules. It is best to load mtdram when you need it so that you can set the proper total size and eraseblock size.
First, load the mtdram module. The total_size and erase_size parameters are in units of !KiB.
You can verify that it is loaded by looking in /proc.
Then load the mtdblock device, copy the jffs2 filesystem into it, and mount it.