test for class route annotation