finished tests for user story 6