Added tests and vendor scripts