Tests for bitcoin and primecoin miners modifications