fixed podfile
added replace tests
added replace method header