API tests, build

Signed-off-by: Bogdan Bivolaru <bogdan.bivolaru@gmail.com>
Remove old test directory

Signed-off-by: Bogdan Bivolaru <bogdan.bivolaru@gmail.com>