Update for new case apis
Fixed test to use set_as_top()
Merge pull request #5 from setowns1/bug

Update for new case apis