added generic_spec test