Tests and Problem 7