add test with jmockit