adjusted tests to adhere to DRY