added unit minimal tests