Cleaned up Unit tests. Added more tests for CryptSig. Did more work on ERAT