mostly passing tests