Added negative cases and custom data test