Check for BUILD_TESTS in python subdirectory.

Added check for BUILD_TESTS. Building of python/tests fails outside Statoil. This is also consistent with how it is done in other sub-directories.