implemented first tests - close #35