created attributes added unit testing