Add test for creating a new api with restifier.api()

Signed-off-by: Ian Macalinao <me@ian.pw>