refactored test to test meaningful areas without duplicating tests