Serialization and public slots tests

This is the PR for automatized tests.

Test values are hardcoded in the code.

Public slots: test the getter and setter function. Furthermore, some parameters of the object attribute are verify (ex: id of platform is always a positive integer).