Added a test for SmartPear
Some Cleanup for ASPear