adding test and program