Scratchpad tests

Completed scratchpad tests.
Added comments for new directives.