added some tests fixed assign tests