Spongey Castle will not load on the JVM. It only loads on Dalvik. If you want to test it you need to use the android integration tests instead of robolectric.