updated junit tests. failing now.