Added snippets for python testing and build system for phantomjs.