Changes in unit tests

Old unit tests were changed. Performance unit tests were added.