You are doing everything fine, except you are missing one step.
You need to Syncronize your CMDB form with the AST form.
To do that you need to open your Application Administration Console.
Go to Custom Configuration -> Asset Management -> SyncUI with CMDB.
Another view of the Schema Names form will open. Make a search, find your Test class.
Set the "Has Asset UI" to yes, and finally click the "Update UI" button.
It will take some time but an AST:Test form will be created in the Server.
For logs check the CMDBSyncronizeUI.log in the /db folder.
Thanks Gustavo, it is working now ,I marked your reply as the correct answer.
Just updating. In version 7.6.+ the new path is: Custom Configuration -> Asset Management -> Advanced Options -> Sync Asset with CMDB