more dll unit tests and funtionality