added some stuff for new platforms
ignore the whole build dir
added some tests for the new insertReplace() method