added tests and build and testing to the buildscript