Tests for threading in Android, for DIMA @ Polimi 2013