check valid shell inside setter
Added tests