Add Function Unit Tests

Click "Run Tests" to see results