Add tests files. Improve floatingip functions