Adding basic testing for the logic class

Added early return to widget test to by pass module registration
issue.