add test, which proves, that build() does not return a promise