[NXCM-2829] Make constructors package protected so JUnit will shut up

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>