test for capstone class