Assignment with tests