Inicial tests

Tests for all classes.
Added trevis configuration to the build status.