updated invaild initlization techniques
updated test