Added Tests for revise! and fixed a few errors

revise! was failing and there were not test cases for it.. added them

Also a few errors fixed:
+ clear_persistence option not required 
+ Factory#build should not specify attribute protection.