added phpunit tests to DinklyBase