Wrote static, general, optional test.

Still have to write the following tests:
1) Static only
2) Static and optional only
3) Static and general