Added tests and resolved the validation. Everything checks out for hw3.