Check limit units

fixes #312
Test limit units in setters
Check limit bounds
Test limit bounds