added background tests
standards and tests improvements
tested border, finished all small functions