Change configure target to configure forrelease and add configureTest target