added bandwidth test
added units tests