adding unit tests and relevant packages