proj: add special testing build configuration
proj: improve style and get rid of warnings