adding unit tests for 'define' form
simple 'define' form implementation