fix assert tests and make tests directory