Inicial tests

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