Added Api tests