Fixed build-in function test