Added regression tests

Added tests for all the expected cases of Constructor accesibility to ensure compatibility with Kryo unit tests.