Added simple test cases for `define()`