added some test for assignment model
wrote test for controllers too