Added api test, updated readme