Do not pass onClick prop
Added tests for onClick event