Improve unit tests

Unit tests for models completed.
Some obsolete methods and obsolete AddressController removed.