fixed test to be proper