Security tests added in Note class