finished unit testing on models