Added tests for `define`