Added some API spec tests