Added Nix Platform API test.

Reviewed by: Lauro Neto