Added test with empty array
Fixed macros defines
Added tests