Add junit rule

Thanks @misto for the tip with the JUnit rules, I didn't know they exist. They allow to unwrap the exception that is thrown by the PC thread.

I also reverted the last commit that introduces all the ask calls and instead added the ask call to the DSL.