Add CASP resource for test. Fix STBL bug