Add buildandtest script