used spec for all tests