refactor fixture
check throwing behavior