Added test function to wscript and cleaned up travis configs