Made tests for the get.assign function