add minunit unit testing