Removed debugging output from allocated_tasks()
Corrected tests and implementation for allocated_tasks()

The allocated_tasks() method actually expects data in the form
"num|string":ppn="num" not with 'nodes=' in front of it.
Extended the tests checking how set_data() extracts data