SPOT-1101: Add unit test for building API v1