added sample unit tests