added some cassette function tests