added test prepare to scripts