Added dependencies
Added assertion