To dream that you are being experimented on or that you are used as an experiment means that you are feeling completely helpless in some area of your life. You feel that you are at the mercy of someone else and have no control over decisions that affect you.
To dream that you are working on an experiment suggests that you need to be more daring and try something new and different.
Take a chance.
Also consider the type of experiment for significance on which area of your life you need more adventure in or that you need to be more adventuresome.