Revert "Fixed build profile for tests on debug only"

This reverts commit 02a2a57fa693a04c7eb6aaa36f8a815f1f4acd54.